﻿namespace Common.Protocol
{
    using System;
    using System.Collections.Generic;

    public class ChannelInterval
    {
        public DateTime Start { get; set; }
        public DateTime End { get; set; }
        public List<float> Values = new List<float>();

        public bool IsActive;

        public ChannelConfig Config;

        public ChannelInterval(DateTime start, DateTime end, ChannelConfig config)
        {
            this.Start = start;
            this.End = end;
            this.Config = config;
            this.Values = new List<float>();
            this.IsActive = true;
        }
    }
}